package net.chrisrichardson.ec2deployer.core

class AwsCredentialVerificationResultsToStdOut implements AwsCredentialVerificationResults {

    public void success(String serviceName) {
        println "SUCCESS: $serviceName"
    }

    public void fail(String serviceName, String reason) {
        println "FAIL: $serviceName, $reason"
    }

    public void exception(String serviceName, Throwable t) {
        println "EXCEPTION: $serviceName, ${t.getClass}, ${t.message}"
    }

}